# name : rpact getSampleSizeSurvival lambda N
# key : rpact.getSampleSizeSurvival.lambda.N
# contributor: Shuguang Sun
# --
getSampleSizeSurvival(
  alpha = ${1:0.025}, sided = 1,
  beta = ${2:0.1},
  thetaH0 = rpact:::C_THETA_H0_SURVIVAL_DEFAULT,
  lambda1 = ${3:log(2) / 10}, # Treatment
  lambda2 = ${4:log(2) / 7},  # Reference
  hazardRatio = NA_real_,
  accrualIntensity = ${5:8.3},
  accrualTime = 0,
  maxNumberOfSubjects = ${6:308},
  allocationRatioPlanned = ${7:1},
  dropoutRate1 = 0.01,
  dropoutRate2 = 0.05,
  dropoutTime = 12
)
